home *** CD-ROM | disk | FTP | other *** search
- Job Hanssen wrote:
- >
- > I have a question concerning the integration of TAR, BTNtape (by Bob
- > Rethemeyer) and a HP 35470A Dat Drive into a backup system.
-
- Use Gnutar from aminet.
-
- >
- > I've managed to setup everything and it does work, but it's slow as
- > hell, although the drive only stops a few times while backing up about
- > 1,6 gig. This takes almost 3 houres!
- >
- > I've setup BTNtape as follows:
- >
- > /* dosdriver TAPE: */
- > Handler = L:btn-handler
- > Startup = "warpdrive.device/UN-2/BS-512/NB-100/BT-4/RT-0"
- > Stacksize = 4000
- > Priority = 5
- > GlobVec = -1
- > Mount = 1
- > #
- >
- > and I do a backup with:
- >
- > 'tar -cab 120 -f TAPE: <device>'
- >
- > I have no idea what the 'blocksize' and 'number of blocks' do. I just
- > used the numbers used in examples. Could someone explain this to me in
- > plain, clear english, or even better, dutch? I really don't
- > understand what's meant by double buffering and stuff like this in the
- > docs that came with BTNtape (not the authors fault, I just don't know
- > enough about these things to understand what's being said).
-
- You save files in "blocks" on a tape drive. If your block size was 20
- (standard), then each time you saved a file to tape, it would be broken
- up into 20 blocks at a time (each block is 512 bytes as specified in the
- Startup= line BS-512). This means that each tape write uses 20 x 512 =
- 10240 bytes per block. If your file was 10241 bytes long, it would take
- two blocks to save it, and you would be wasting 10239 bytes on the tape.
- The "trick" is that tapes move faster the less blocks they write - so
- bigger blocks speed up the tape at the cost of wasting space on the
- tape.
-
- The rule of thumb here is that if you have a bunch of small files - use
- a small block size (20 is fine). If you have a few large files, use a
- larger block size.
-
- >
- > The docs that came with the DAT drive only says something like:
- >
- > 'Data Capacity:
- > The capacity of a 90 m cassette is 2 gigabytes, provided that
- > streaming operation is maintained throughout the writing activity. The
- > capacity depends on the size of the records sent from the host; a
- > capacity of 2 gigabytes assumes a record size of 512 bytes or
- > greater.'
- >
- > I would greatly appreciate your comments,
- >
- > with regards,
- >
- > Job Hanssen - hanssen@bart.nl
-
- I think your main problem is with tar. I had a hell of a time using it
- until I found Gnutar - and IT works like a dream.
-
- --
- Owner and wielder of Occam's razor! (Committed to regula philosophandi)
-
- _/_/_/ _/ _/ Chris "Big Kahuna"
- Rampson M.S.
- _/ _/_/_/ _/ _/_/ _/_/_/ crampson@ford.com
- _/ _/ _/ _/_/ _/ _/_/ NO cutdowns, flames or
- insults
- _/ _/ _/ _/ _/ _/_/ NO such thing as a stupid
- question!
- _/_/_/ _/ _/ _/ _/ _/_/_/ "NOT an OFFICIAL FORD
- spokesperson"
-